package nl.twleaks.alice;

import java.io.IOException;

import javax.servlet.http.*;

import nl.twleaks.alice.entities.User;
import nl.twleaks.alice.task.Task;
import nl.twleaks.alice.task.TaskExecutor;
import nl.twleaks.alice.tasks.LoginTask;


@SuppressWarnings("serial")
public class TWAliceServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		
		User user = new User(1, "nlc1", "De+Gehandicapte+olifant", "test123");
		Task task = new LoginTask(user);
		TaskExecutor.execute(task);
	}
}
